﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
{
}

<blockquote class="layui-elem-quote1 quoteBox layui-form">
    <div class="layui-form-item layui-card">
        <div class="layui-card-header tool-btn">
            <a class="layui-btn  layui-btn-primary" id="funBtnExport"><i class="layui-icon layui-icon-export"></i>导出</a>
            <a class="layui-btn  layui-btn-normal " id="funBtnPayment"><i class="layui-icon layui-icon-auz"></i>发放</a>
            <a class="layui-btn  layui-btn-danger " id="funBtnRevoke"><i class="layui-icon layui-icon-delete"></i>撤销</a>
        </div>
        <div class="layui-card-body">
            <label class="layui-form-label">工程项目：</label>
            <div class="layui-input-inline">
                <select lay-verify="required" name="ProjectNo" id="ProjectNo">
                </select>
            </div>
            <label class="layui-form-label">关键字：</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" autocomplete="off" name="KeyWord" id="KeyWord" placeholder="姓名/拼音/工资单号" />
            </div>
            <label class="layui-form-label">年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;月：</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" lay-verify="required" id="YearMothDate" />
            </div>
            <div class="layui-inline">
                <a class="layui-btn" id="funBtnSearch"><i class="layui-icon layui-icon-list"></i>搜索</a>
            </div>
        </div>
    </div>
</blockquote>

<div class="layui-form">
    <div class="layui-tab" lay-filter="salary">
        <ul class="layui-tab-title">
            <li class="layui-this" lay-id="11">未发工资</li>
            <li lay-id="22">已发工资</li>
            <li lay-id="33">异常工资</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <table class="layui-hide" id="InfoList" lay-filter="InfoList"></table>
            </div>
            <div class="layui-tab-item">
                <table class="layui-hide" id="InfoList1" lay-filter="InfoList1"></table>
            </div>
            <div class="layui-tab-item">
                <table class="layui-hide" id="InfoList2" lay-filter="InfoList2"></table>
            </div>
        </div>
    </div>
</div>

@section Foot
{
    <script type="text/html" id="gridTool">
        @*发放状态0 未发，1已发*@
        {{# if (d.FState===0){ }}
        <a class="layui-btn  layui-btn-xs  layui-btn-normal " lay-event="funBtnPayment"><i class="layui-icon layui-icon-auz"></i>发放</a>
        <a class="layui-btn  layui-btn-xs  layui-btn-normal " lay-event="funBtnSubsidy"><i class="layui-icon layui-icon-auz"></i>修改补贴</a>
        {{# } else { }}
        <a class="layui-btn  layui-btn-xs  layui-btn-danger " lay-event="funBtnRevoke"><i class="layui-icon layui-icon-delete"></i>撤销</a>
        {{# } }}
    </script>
    <script src="~/Areas/Staff/js/salary.payment.list.js"></script>
}
